package com.hgkj.cloud.base.common;

public class ConstantUtil {

	public static final int SUCCESS = 1;						// 成功
	public static final int FAILTURE_OR_EXCEPTION = 0;			// 失败或异常
	public static final int LOGIN_MSG_NOLOGIN = -1;				// 未登录
	public static final int LOGIN_MSG_KICKOUT = -2;				// 被挤下线
	public static final int LOGIN_MSG_VCODE = -3;				// 验证码不正确
	public static final int LOGIN_MSG_USERNAME = -4;			// 用户名已经存在
	public static final int LOGIN_MSG_PHONE_EXIT = -5;			// 手机号已经存在
	public static final int LOGIN_MSG_SESSION=-6;				//SESSION异常 ,获取验证码失败
	public static final int LOGIN_DATE_FORMAT=-7;				//日期格式错误
	public static final int WX_LOGIN_ACCESSTOKEN=-8;			//微信accessToken未过期
	public static final int LOGIN_MSG_NO_PERMISSION = -9;		// 没有使用权限
	public static final int LOGIN_MSG_NEED_PAY = -10;			// 需要付费
	public static final int USER_NO_TEST = -11;					// 未测试
	public static final int EXIST_PHONE_ACCOUNT = -12;			// 存在此手机号的账户，是否合并
	public static final int LOGIN_MSG_FIRST = -13;				// 第一次登录
	public static final int SLEEP_REPORT_POINTS_COUNT = 10; 	//睡眠报告曲线图最多分布点数
	
	
	
	public static final int WECHAT_PAY = 1;						// 微信支付
	public static final int ALI_PAY = 2;						// 支付宝支付

	public static final int BRACELET_NO_USE_STATUS = 0;			// 未使用
	public static final int BRACELET_USE_ZXB_STATUS = 1;		// 知心宝
	public static final int BRACELET_USE_DXY_STATUS = 2;		// 读心仪
	
	public static final int DEVICE_MATTRESS = 1;				// 床垫
	public static final int DEVICE_BRACELET = 2;				// 手环
	public static final int DEVICE_VIRUS = 3;					// 肺炎
	public static final int DEVICE_BRACELET2 = 4;				// 读心仪

	public static final int BRACELET_MODEL_SILENT = 1;			// 静息模式
	public static final int BRACELET_MODEL_STUDY = 2;			// 学习模式
	public static final int BRACELET_MODEL_AOJIAHUA = 3;		// 奥佳华模式
	public static final int BRACELET_MODEL_WORK = 4;			// 工作模式
	public static final int BRACELET_MODEL_DRIVE = 5;			// 驾驶模式
	public static final int BRACELET_MODEL_SLEEP = 6;			// 睡觉模式
	public static final int BRACELET_MODEL_FATIGUE = 7;			// 疲劳模式

	public static final int FIND_UPDATE_SLEEP_APP = 4;			// e睡眠app
	public static final int FIND_UPDATE_SLEEP_DEVICE = 5;		// 床垫固件
	public static final int FIND_UPDATE_BRACELET_ZXB = 6;		// 知心宝app
	public static final int FIND_UPDATE_BRACELET_DEVICE = 7;	// 手环固件
	public static final int FIND_UPDATE_BRACELET_DXY = 8;		// 读心仪app

	public static final int LESS_SLEEP_HOURT = 6;				// 睡眠不足时长
	public static final String LATER_SLEEP_TIME = "23:00:00";	// 默认晚睡时间
	public static final int SLEEP_COUGH_TIMES = 2;				// 咳嗽次数

	public static final String DEFAULT_PASSWORD = "Aa135246";		// 用户默认密码

}
